#ifndef __UID_H__
#define __UID_H__

#define __uid_t_defined
#include <sys/types.h>

typedef signed long uid_t ;

void uidGenerate (uid_t *,size_t) ;
void uidRelease (uid_t const *,size_t) ;
void uidLock (uid_t const *,size_t) ;
void uidUnLock (uid_t const *,size_t) ;

uid_t uidGenerateSingle () ;
void uidReleaseSingle (uid_t) ;
void uidLockSingle (uid_t) ;
void uidUnLockSingle (uid_t) ;

#define UID_EMPTY 0


#endif
